// moka's blog : http://designplusplus.blogspot.com/

function createSWF()
{
	createBanner
("header-inner","http://designplusplus.googlecode.com/svn/trunk/MokaBlog/swf/dpp.swf","dpp",0,0,692,100);
}

function createBanner(parent,swfSrc,id,left,top,width,height){
	divObj = document.createElement('div');
	divObj.id = id;
	divObj.style.position = "absolute";
	divObj.style.left=left + "px";
	divObj.style.top=top + "px";
	document.getElementById(parent).appendChild(divObj);

	var flashvars = {
		};
		var params = {
			menu: "false",
			scale: "noScale",
			allowFullscreen: "true",
			allowScriptAccess: "always",
			bgcolor: "#FFFFFF"
		};
		var attributes = {
			id:"dpp"
		};
	swfobject.embedSWF(swfSrc, id, width, height, "9.0.0", "expressInstall.swf", flashvars, params, attributes);

}